﻿using CleanArchitecture.Core.SharedKernel;

namespace CleanArchitecture.Infrastructure.Entities.AdminUsers
{
    /// <summary>
    /// Represents a customer-customer role mapping class
    /// </summary>
    public partial class AdminUserAdminRoleMapping : BaseEntity
    {
        /// <summary>
        /// Gets or sets the foreign key of AdminUser identifier
        /// </summary>
        public int FKAdminUserId { get; set; }

        /// <summary>
        /// Gets or sets the foreign key of AdminRole identifier
        /// </summary>
        public int FKAdminRoleId { get; set; }

        /// <summary>
        /// Gets or sets the customer
        /// </summary>
        public virtual AdminUser AdminUser { get; set; }

        /// <summary>
        /// Gets or sets the customer role
        /// </summary>
        public virtual AdminRole AdminRole { get; set; }
    }
}
